package com.punai.costtool.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.punai.costtool.domain.entity.ToolMaintenance;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface ToolMaintenanceService extends IService<ToolMaintenance> {
    void downloadFile(String id, HttpServletResponse response) throws IOException;

    boolean uploadFile(String id, MultipartFile file) throws IOException;
}
